import React from "react";
import logo from "./logo.svg";
import "./App.css";
import MyNavBar from "./components/NarBar";
import { Route, Switch, Redirect } from "react-router-dom";
import BestHP from "./components/BestHP";
import { Container } from "@material-ui/core";

function App() {
  return (
    <div className="App">
      <MyNavBar />

      <Container maxWidth="lg">
        <Switch>
          <Route path={"/best"} component={BestHP} />
          <Redirect from="/" to="/best" />
        </Switch>
      </Container>
    </div>
  );
}

export default App;
